#ifndef L1_D202303_H
#define L1_D202303_H
#include <iostream>
using namespace std;

// Q1 字符长方形
void Q1() {
  char c;
  cin >> c;
  for (int i = 0; i < 3; i++) {
    for (int j = 0; j < 4; j++) {
      cout << c << ' ';
    }
    cout << '\n';
  }
}

// Q2 长方形面积
void Q2() {
  int l, w;
  cin >> l >> w;
  cout << l * w << endl;
}

// Q3 成绩等级转换
void Q3() {
  int score;
  cin >> score;
  char grade;
  if (score >= 90) {
    grade = 'A';
  } else if (score >= 77) {
    grade = 'B';
  } else if (score >= 67) {
    grade = 'C';
  } else if (score >= 60) {
    grade = 'D';
  } else {
    grade = 'E';
  }
  cout << grade << endl;
}

// Q4 机智的小明
void Q4() {
  int n, min = 100;
  cin >> n;
  int score[n];
  for (int i = 0; i < n; i++) {
    cin >> score[i];
  }
  for (int i = 0; i < n; i++) {
    if (score[i] < min) {
      min = score[i];
      cout << 'N' << '\n';
    } else {
      cout << 'Y' << '\n';
    }
  }
}

// Q5 寻找特殊年号
void Q5() {
  int y;
  cin >> y;
  while (true) {
    y++;
    int temp = y, sum = 0;
    while (temp > 0) {
      sum += temp % 10;
      temp /= 10;
    }
    if (sum == 20) {
      cout << y << endl;
      break;
    }
  }
}

#endif